home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / telecom / 189 / comm / mybind.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-10-14  |  514 b   |  21 lines

  1. /*
  2.  * Just a few of the osbind stuff
  3.  */
  4.  
  5. #define    Cconin()    trap(1, 0x1)
  6. #define    Cconout(c)    trap(1, 0x2, c)
  7. #define    Cauxin()    trap(1, 0x3)
  8. #define    Cauxout(c)    trap(1, 0x4, c)
  9. #define    Cprnout(c)    trap(1, 0x5, c)
  10.  
  11.  
  12. #define Bconstat(DEV)     trap(13, 1, DEV)
  13. #define Bconin(DEV)     trap(13, 2, DEV)
  14. #define Bconout(DEV,c)     trap(13, 3, DEV, c)
  15.  
  16. #define Cursconf(func,rate)    trap(14, 21, func, rate)
  17.  
  18. #define Rsconf(baud,flow,uc,rs,ts,sc)    trap(14,15,baud,flow,uc,rs,ts,sc)
  19.  
  20. #define Cconws(s)    trap(1, 0x09, s)
  21.